Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove spirv result from Error::display #20

Merged
merged 2 commits into from
Mar 25, 2021
Merged

Remove spirv result from Error::display #20

merged 2 commits into from
Mar 25, 2021

Conversation

Jake-Shadle
Copy link
Member

This removes the printing of the inner spirv result from Error's Display implementation in order to more closely align the error output between tool and compiled mode. Unfortunately, this means we're losing information in compiled mode, since in that case the error code is actually "accurate", but this is due to the fact that the error code used when a tool failed was just "internalerror" since spirv binaries have no way to determine the actual inner error that caused the tool to fail.

Resolves: #19

This is due to the lossiness of running the spirv binaries, while
needing (more) consistent error output between compiled and tool.
@mergify mergify bot merged commit b0b38a2 into main Mar 25, 2021
@mergify mergify bot deleted the fix-diagnostics branch March 25, 2021 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error output differs when using compiled-tools vs installed-tools.
3 participants